var contentType // The MIME type that is sent to the server when you call the XML.send() or XML.sendAndLoad() method. The default is application/x-www-form-urlencoded.
var docTypeDecl // Specifies information about the XML document's DOCTYPE declaration. After the XML text has been parsed into an XML object, the XML.docTypeDecl property of the XML object is set to the text of the XML document's DOCTYPE declaration.
var firstChild // Evaluates the specified XML object and references the first child in the parent node's children list.
var ignoreWhite // Default setting is false. When set to true, text nodes that contain only white space are discarded during the parsing process. Text nodes with leading or trailing white space are unaffected.
var lastChild // Evaluates the XML object and references the last child in the parent node's child list.
var loaded // Determines whether the document-loading process initiated by the XML.load() call has completed successfully ("true") or not ("false").
var nextSibling // Evaluates the XML object and references the next sibling in the parent node's child list.
var nodeName // The node name of the XML object. If the XML object is an XML element (nodeType == 1), nodeName is the name of the tag representing the node in the XML file.
var nodeType // Takes or returns a nodeType value, where 1 is an XML element and 3 is a text node.
var nodeValue // The node value of the XML object. If the XML object is a text node, the nodeType is 3, and the nodeValue is the text of the node. If the XML object is an XML element (node type is 1), it has a "null" nodeValue and is read-only.
var parentNode // References the parent node of the specified XML object, or returns "null" if the node has no parent. This is a read-only property and cannot be used to manipulate child nodes; use appendChild(), insertBefore(), and removeNode() to manipulate children.
var previousSibling // Returns a reference to the previous sibling in the parent node's child list.
var status // Automatically sets and returns a numeric value indicating whether an XML document was successfully parsed into an XML object. The numeric status codes and a description of each are listed as follows:
var xmlDecl // Specifies information about a document's XML declaration.
function addRequestHeader(headerName, headerValue) // Adds or changes HTTP request headers sent with POST actions. In the first usage, you pass two strings to the method: headerName and headerValue. In the second usage, you pass an array of strings, alternating header names and header values.
function appendChild(childNode) // Appends the specified child node to the XML object's child list. The appended child node is placed in the tree structure once removed from its existing parent node, if any.
function cloneNode(deep) // Returns a new XML node of the same type, name, value, and attributes as the specified XML object. If "deep" is set to "true", all child nodes are recursively cloned, resulting in an exact copy of the original object's document tree.
function createElement() // Creates a new XML element with the name specified in the parameter.
function createTextNode(text) // Creates a new XML text node with the specified text.
function getBytesLoaded() // Returns the number of bytes loaded for the XML document. By comparing the value of getBytesLoaded() with the value of getBytesTotal(), you'll get the idea what percentage of an XML document has loaded.
function getBytesTotal() // Returns the size, in bytes, of the XML document.
function hasChildNodes() // Returns "true" if the specified XML object has child nodes; otherwise, returns "false".
function insertBefore(childNode, beforeNode) // Inserts a new child node into the XML object's child list, before the beforeNode node. If the beforeNode parameter is undefined or null, the node is added using appendChild(). If beforeNode is not a child of my_xml, the insertion fails.
function load(url) // Loads an XML document from the specified URL, and replaces the contents of the specified XML object with the downloaded XML data. The URL is relative, and is called via HTTP. The load process is asynchronous; it does not finish immediately after the load() method is executed.
function parseXML(source) // Parses the XML text specified in the "source" parameter, and populates the specified XML object with the resulting XML tree. Any existing trees in the XML object are discarded.
function removeNode() // Removes the specified XML object from its parent. All descendants of the node are also deleted.
function send(url, window) // Encodes the specified XML object into an XML document and sends it to the specified URL using the "POST" method.
function sendAndLoad(url, targetXMLobject) // Encodes the specified XML object into a XML document, sends it to the specified URL using the POST method, downloads the server's response and then loads it into the targetXMLobject specified in the parameters. The server response is loaded in the same manner used by the load() method.
function toString() // Evaluates the specified XML object, constructs a textual representation of the XML structure including the node, children, and attributes, and returns the result as a string.
function onData() // Invoked when XML text has been completely downloaded from the server, or when an error occurs downloading XML text from a server. This handler is invoked before the XML is parsed and therefore can be used to call a custom parsing routine instead of using the Flash XML parser. The XML.onData method returns either the value undefined, or a string that contains XML text downloaded from the server. If the returned value is undefined, an error occurred while downloading the XML from the server.
function onLoad() // Invoked by Flash Player when an XML document is received from the server.